package org.yn.emp.mapper;


import org.yn.base.mapper.IBaseMapper;
import org.yn.emp.EmployeeDTO;
import org.yn.emp.domain.Employee;

import java.util.List;


public interface EmployeeMapper extends IBaseMapper<Employee> {



    void deleteByEmployeeId(Long employeeId);

    void insertByEmployeeId(EmployeeDTO employeeDTO);

    Employee selectByName(String username);

    List<Long> selectByEmployeeId(Long id);

    List<String> queryPermissionByUserId(Long id);
}
